package com.imooc.springcloud;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @describte:实现远程方法调用的接口
 * @program:spring-cloud-demo
 * @author:zhengdp
 * @create:2021-10-01 19:56:06
 **/
@FeignClient("eureka-client")
public interface IService {

    @GetMapping("/sayHi")
    String sayHi();
}
